Opened 11 years ago
Closed 11 years ago
#2410 closed defect (fixed)
ST_CurveToLine drops first vertex of a straight curve
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | high | Milestone: | PostGIS 2.0.4 |
Component: | postgis | Version: | 2.0.x |
Keywords: | Cc: |
Description
Passing a straight line to ST_CurveToLine:
CIRCULARSTRING(0 0,1 0,2 0)
Results in a linestring missing first vertex and having a duplicated second vertex:
LINESTRING(1 0,2 0,2 0)
1.5(.9) is _not_ affected, 2.0 and 2.1 are affected.
I guess 2.1.0 could wait for a fix to this. I have a fix locally, which doesn't change any of the existing regression tests results.
See also #2407 which is the context in which I've found this one
Change History (1)
comment:1 by , 11 years ago
Milestone: | PostGIS 2.1.0 → PostGIS 2.0.4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed with r11745 in trunk (2.2.0), r11746 in 2.1 branch (2.1.0), r11747 in 2.0 branch (2.0.4)